Function: controls(domElementOrCSSSelector, target-domElementOrCSSSelector) Description: Sets up a controlling relationship from one element to another, where one element controls the other. Returns: Original Object, or $A object if chained. Note: The controls() function will automatically configure a valid ARIA control relationship between two or more elements, even if the target elements do not include an id. It will automatically manage the aria-controls attribute accordingly. Example: $A.controls(domElement, domElementToControl); $A.controls("#controlling-element-id", ".elements-to-control"); // Or the same using chaining $A(domElement).controls(domElementToControl); $A("#controlling-element-id").controls(".elements-to-control");